package com.ssl.spring.security.service;

import com.ssl.spring.security.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author ssl
 * @since 2021-04-27
 */
public interface IUserService extends IService<User> {

    /**
     * 根据用户名查找用户
     *
     * @param username
     * @return
     */
    User getByUsername(String username);
}
